package cn.reinforce.util.aliyun.model.textscan;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.exceptions.ClientException;
import com.aliyuncs.exceptions.ServerException;
import com.aliyuncs.transform.UnmarshallerContext;
import lombok.Data;

import java.util.List;

/**
 * @author 幻幻Fate
 * @create 2020/9/22
 * @since
 */
@Data
public class TextScanResponse extends AcsResponse {

    private String requestId;
    private String msg;
    private Integer code;
    private List<TextScanData> data;

    @Override
    public AcsResponse getInstance(UnmarshallerContext context) throws ClientException, ServerException {
        return	TextScanResponseUnmarshaller.unmarshall(this, context);
    }
}
